// 律师费
import axios from '@/utils/axios/index';

// 获取省份
export const getProvince = () => {
  return axios.get({
    url: '/lawyerFee/getProvince',
  });
};

// 获取案件类型
export const getType = (params: any) => {
  return axios.get({
    url: '/lawyerFee/getType',
    params,
  });
};

// 获取模式
export const getMode = (data: any) => {
  return axios.post({
    url: '/lawyerFee/getMode',
    data,
  });
};

// 获取方式
export const getWay = (data: any) => {
  return axios.post({
    url: '/lawyerFee/getWay',
    data,
  });
};

// 计算/不涉及金额
export const calculator = (data: any) => {
  return axios.post({
    url: '/lawyerFee/getContext',
    data,
  });
};
